<?php

class Admin extends Admin_Controller {

    protected $title = ' | MAPPS.VN';
    function __construct()
    {
        parent::__construct();    
    }
    
    function index()
    {
        $arrVar    = array(
            'title_for_layout'  => 'User Admin Page'. $this->title
        ); 
        $this->load->view('admin/index', $arrVar);
    }
    
    public function login() {    
      
        $arrVar    = array(
            'title_for_layout'  => 'Login Admin Page'. $this->title,
            'form_begin'        => form_open('', 'post', array('test1' => 123, 'test2' => "abc")),
            'form_end'          => form_close()
        );
        $this->load->view('admin/login', $arrVar);
    }
    
    function logout() {
         $this->load->view('logout');
    }
}

/* End of file welcome.php */
/* Location: ./system/application/controllers/welcome.php */